package com.cs.cssupplier.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author：lyj
 * @Package：com.cs.cssupplier.domain
 * @Project：RuoYi-Cloud-master
 * @name：CsContract
 * @Date：2024/11/27 14:34
 * @Filename：CsContract
 */
public class CsContract extends BaseEntity {
    @Excel(name="合同ID")
    private Integer eid;

    @Excel(name="供应商ID")
    private Integer hid;

    @Excel(name="招标项目ID")
    private Integer sid;

    @Excel(name="非招标项目ID")
    private Integer gid;

    @Excel(name="合同编号")
    private String e_hcode;

    @Excel(name="合同名称")
    private String e_hname;

    @Excel(name="合同状态")
    private Integer e_status;

    @Excel(name="创建人")
    private String create_by;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd kk:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date create_time;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd kk:mm:ss")
    @Excel(name = "交付日期", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date e_delivery_time;

    @Excel(name="修改人")
    private String update_by;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd kk:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date update_time;

    @Excel(name="合同管理状态")
    private Integer o_hstatus;

    @Excel(name="合同类型")
    private String e_type;

    @Excel(name="密级")
    private Integer e_con;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd kk:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date e_startDate;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd kk:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date e_endDate;

    @Excel(name="合同金额")
    private BigDecimal e_amount;

    @Excel(name="合同情况说明")
    private String e_description;

    @Excel(name="意见")
    private String e_opinion;

    @Excel(name="合同影像")
    private String e_image;

    @Excel(name="合同文件")
    private String e_documents;

    @Excel(name="是否作废")
    private Integer e_cancel;

    @Excel(name="供应商表")
    private CsSupplier csSupplier;

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getE_hcode() {
        return e_hcode;
    }

    public void setE_hcode(String e_hcode) {
        this.e_hcode = e_hcode;
    }

    public String getE_hname() {
        return e_hname;
    }

    public void setE_hname(String e_hname) {
        this.e_hname = e_hname;
    }

    public Integer getE_status() {
        return e_status;
    }

    public void setE_status(Integer e_status) {
        this.e_status = e_status;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getE_delivery_time() {
        return e_delivery_time;
    }

    public void setE_delivery_time(Date e_delivery_time) {
        this.e_delivery_time = e_delivery_time;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Integer getO_hstatus() {
        return o_hstatus;
    }

    public void setO_hstatus(Integer o_hstatus) {
        this.o_hstatus = o_hstatus;
    }

    public String getE_type() {
        return e_type;
    }

    public void setE_type(String e_type) {
        this.e_type = e_type;
    }

    public Integer getE_con() {
        return e_con;
    }

    public void setE_con(Integer e_con) {
        this.e_con = e_con;
    }

    public Date getE_startDate() {
        return e_startDate;
    }

    public void setE_startDate(Date e_startDate) {
        this.e_startDate = e_startDate;
    }

    public Date getE_endDate() {
        return e_endDate;
    }

    public void setE_endDate(Date e_endDate) {
        this.e_endDate = e_endDate;
    }

    public BigDecimal getE_amount() {
        return e_amount;
    }

    public void setE_amount(BigDecimal e_amount) {
        this.e_amount = e_amount;
    }

    public String getE_description() {
        return e_description;
    }

    public void setE_description(String e_description) {
        this.e_description = e_description;
    }

    public String getE_opinion() {
        return e_opinion;
    }

    public void setE_opinion(String e_opinion) {
        this.e_opinion = e_opinion;
    }

    public String getE_image() {
        return e_image;
    }

    public void setE_image(String e_image) {
        this.e_image = e_image;
    }

    public String getE_documents() {
        return e_documents;
    }

    public void setE_documents(String e_documents) {
        this.e_documents = e_documents;
    }

    public Integer getE_cancel() {
        return e_cancel;
    }

    public void setE_cancel(Integer e_cancel) {
        this.e_cancel = e_cancel;
    }

    public CsSupplier getCsSupplier() {
        return csSupplier;
    }

    public void setCsSupplier(CsSupplier csSupplier) {
        this.csSupplier = csSupplier;
    }

    @Override
    public String toString() {
        return "CsContract{" +
                "eid=" + eid +
                ", hid=" + hid +
                ", sid=" + sid +
                ", gid=" + gid +
                ", e_hcode='" + e_hcode + '\'' +
                ", e_hname='" + e_hname + '\'' +
                ", e_status=" + e_status +
                ", create_by='" + create_by + '\'' +
                ", create_time=" + create_time +
                ", e_delivery_time=" + e_delivery_time +
                ", update_by='" + update_by + '\'' +
                ", update_time=" + update_time +
                ", o_hstatus=" + o_hstatus +
                ", e_type='" + e_type + '\'' +
                ", e_con=" + e_con +
                ", e_startDate=" + e_startDate +
                ", e_endDate=" + e_endDate +
                ", e_amount=" + e_amount +
                ", e_description='" + e_description + '\'' +
                ", e_opinion='" + e_opinion + '\'' +
                ", e_image='" + e_image + '\'' +
                ", e_documents='" + e_documents + '\'' +
                ", e_cancel=" + e_cancel +
                ", csSupplier=" + csSupplier +
                '}';
    }
}
